echo off

echo "Build to defalut env."
go build -o=./build/assistant.exe

echo "Build to Window amd64"
set GOOS=windows
set GOARCH=amd64
go build -o=.\build\assistant-amd64.exe

echo "Build to Window amd32"
set GOOS=windows
set GOARCH=amd32
go build -o=.\build\assistant-amd32.exe

echo "Build to Linux arm64."
set GOOS=linux
set GOARCH=arm64
go build -o=.\build\assistant-arm64

echo "Build to Linux arm32."
set GOOS=linux
set GOARCH=arm32
go build -o=.\build\assistant-arm32